package com.say.service;

import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.say.bean.domain.Config;
import com.say.framework.core.common.service.BaseService;


/**
 * 
 * 类名称：ConfigService<br>
 * 类描述：系统参数服务接口<br>
 * @version v1.0
 *
 */
public interface ConfigService extends BaseService<Config, String> { 
	
	public Page<Config> findByPage(Map<String, Object> params, Pageable sp);
	
    public String getCacheConfigByCode(String code) ;

    public Config getConfigByCode(String code);
    
    public Config saveConfig(Config config);

}
